package cmm;// Generated from C:/Users/13422/Documents/������ѧ��/������/cmm/src/main/java\CMM.g4 by ANTLR 4.7
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.Token;
import org.antlr.v4.runtime.TokenStream;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.misc.*;

@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
public class CMMLexer extends Lexer {
	static { RuntimeMetaData.checkVersion("4.7", RuntimeMetaData.VERSION); }

	protected static final DFA[] _decisionToDFA;
	protected static final PredictionContextCache _sharedContextCache =
		new PredictionContextCache();
	public static final int
		T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9, 
		T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17, 
		T__17=18, T__18=19, READ=20, WRITE=21, WHILE=22, BREAK=23, IF=24, ELSE=25, 
		TYPE=26, ID=27, INT=28, DOUBLE=29, HEXINT=30, WS=31, SL_COMMENT=32, MUL_COMMENT=33;
	public static String[] channelNames = {
		"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
	};

	public static String[] modeNames = {
		"DEFAULT_MODE"
	};

	public static final String[] ruleNames = {
		"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8", 
		"T__9", "T__10", "T__11", "T__12", "T__13", "T__14", "T__15", "T__16", 
		"T__17", "T__18", "READ", "WRITE", "WHILE", "BREAK", "IF", "ELSE", "TYPE", 
		"ID", "LETTER", "INT", "DOUBLE", "HEXINT", "WS", "SL_COMMENT", "MUL_COMMENT"
	};

	private static final String[] _LITERAL_NAMES = {
		null, "';'", "'='", "','", "'['", "']'", "'('", "')'", "'{'", "'}'", "'<'", 
		"'<='", "'>'", "'>='", "'=='", "'!='", "'+'", "'-'", "'*'", "'/'", "'read'", 
		"'write'", "'while'", "'break'", "'if'", "'else'"
	};
	private static final String[] _SYMBOLIC_NAMES = {
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, "READ", "WRITE", "WHILE", 
		"BREAK", "IF", "ELSE", "TYPE", "ID", "INT", "DOUBLE", "HEXINT", "WS", 
		"SL_COMMENT", "MUL_COMMENT"
	};
	public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);

	/**
	 * @deprecated Use {@link #VOCABULARY} instead.
	 */
	@Deprecated
	public static final String[] tokenNames;
	static {
		tokenNames = new String[_SYMBOLIC_NAMES.length];
		for (int i = 0; i < tokenNames.length; i++) {
			tokenNames[i] = VOCABULARY.getLiteralName(i);
			if (tokenNames[i] == null) {
				tokenNames[i] = VOCABULARY.getSymbolicName(i);
			}

			if (tokenNames[i] == null) {
				tokenNames[i] = "<INVALID>";
			}
		}
	}

	@Override
	@Deprecated
	public String[] getTokenNames() {
		return tokenNames;
	}

	@Override

	public Vocabulary getVocabulary() {
		return VOCABULARY;
	}


	public CMMLexer(CharStream input) {
		super(input);
		_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
	}

	@Override
	public String getGrammarFileName() { return "CMM.g4"; }

	@Override
	public String[] getRuleNames() { return ruleNames; }

	@Override
	public String getSerializedATN() { return _serializedATN; }

	@Override
	public String[] getChannelNames() { return channelNames; }

	@Override
	public String[] getModeNames() { return modeNames; }

	@Override
	public ATN getATN() { return _ATN; }

	public static final String _serializedATN =
		"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2#\u00ea\b\1\4\2\t"+
		"\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13"+
		"\t\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+
		"\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+
		"\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!"+
		"\t!\4\"\t\"\4#\t#\3\2\3\2\3\3\3\3\3\4\3\4\3\5\3\5\3\6\3\6\3\7\3\7\3\b"+
		"\3\b\3\t\3\t\3\n\3\n\3\13\3\13\3\f\3\f\3\f\3\r\3\r\3\16\3\16\3\16\3\17"+
		"\3\17\3\17\3\20\3\20\3\20\3\21\3\21\3\22\3\22\3\23\3\23\3\24\3\24\3\25"+
		"\3\25\3\25\3\25\3\25\3\26\3\26\3\26\3\26\3\26\3\26\3\27\3\27\3\27\3\27"+
		"\3\27\3\27\3\30\3\30\3\30\3\30\3\30\3\30\3\31\3\31\3\31\3\32\3\32\3\32"+
		"\3\32\3\32\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\5\33\u009a\n\33"+
		"\3\34\3\34\3\34\5\34\u009f\n\34\3\34\3\34\7\34\u00a3\n\34\f\34\16\34\u00a6"+
		"\13\34\3\34\3\34\5\34\u00aa\n\34\5\34\u00ac\n\34\3\35\3\35\3\36\3\36\7"+
		"\36\u00b2\n\36\f\36\16\36\u00b5\13\36\3\36\5\36\u00b8\n\36\3\37\3\37\3"+
		"\37\7\37\u00bd\n\37\f\37\16\37\u00c0\13\37\3 \3 \3 \6 \u00c5\n \r \16"+
		" \u00c6\3!\6!\u00ca\n!\r!\16!\u00cb\3!\3!\3\"\3\"\3\"\3\"\7\"\u00d4\n"+
		"\"\f\"\16\"\u00d7\13\"\3\"\3\"\3\"\3\"\3#\3#\3#\3#\7#\u00e1\n#\f#\16#"+
		"\u00e4\13#\3#\3#\3#\3#\3#\4\u00d5\u00e2\2$\3\3\5\4\7\5\t\6\13\7\r\b\17"+
		"\t\21\n\23\13\25\f\27\r\31\16\33\17\35\20\37\21!\22#\23%\24\'\25)\26+"+
		"\27-\30/\31\61\32\63\33\65\34\67\359\2;\36=\37? A!C\"E#\3\2\t\4\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\2P\f\3\2\2\2QR\7*\2\2R\16\3\2\2\2ST\7+\2\2T\20"+
		"\3\2\2\2UV\7}\2\2V\22\3\2\2\2WX\7\177\2\2X\24\3\2\2\2YZ\7>\2\2Z\26\3\2"+
		"\2\2[\\\7>\2\2\\]\7?\2\2]\30\3\2\2\2^_\7@\2\2_\32\3\2\2\2`a\7@\2\2ab\7"+
		"?\2\2b\34\3\2\2\2cd\7?\2\2de\7?\2\2e\36\3\2\2\2fg\7#\2\2gh\7?\2\2h \3"+
		"\2\2\2ij\7-\2\2j\"\3\2\2\2kl\7/\2\2l$\3\2\2\2mn\7,\2\2n&\3\2\2\2op\7\61"+
		"\2\2p(\3\2\2\2qr\7t\2\2rs\7g\2\2st\7c\2\2tu\7f\2\2u*\3\2\2\2vw\7y\2\2"+
		"wx\7t\2\2xy\7k\2\2yz\7v\2\2z{\7g\2\2{,\3\2\2\2|}\7y\2\2}~\7j\2\2~\177"+
		"\7k\2\2\177\u0080\7n\2\2\u0080\u0081\7g\2\2\u0081.\3\2\2\2\u0082\u0083"+
		"\7d\2\2\u0083\u0084\7t\2\2\u0084\u0085\7g\2\2\u0085\u0086\7c\2\2\u0086"+
		"\u0087\7m\2\2\u0087\60\3\2\2\2\u0088\u0089\7k\2\2\u0089\u008a\7h\2\2\u008a"+
		"\62\3\2\2\2\u008b\u008c\7g\2\2\u008c\u008d\7n\2\2\u008d\u008e\7u\2\2\u008e"+
		"\u008f\7g\2\2\u008f\64\3\2\2\2\u0090\u0091\7f\2\2\u0091\u0092\7q\2\2\u0092"+
		"\u0093\7w\2\2\u0093\u0094\7d\2\2\u0094\u0095\7n\2\2\u0095\u009a\7g\2\2"+
		"\u0096\u0097\7k\2\2\u0097\u0098\7p\2\2\u0098\u009a\7v\2\2\u0099\u0090"+
		"\3\2\2\2\u0099\u0096\3\2\2\2\u009a\66\3\2\2\2\u009b\u00ac\59\35\2\u009c"+
		"\u009f\59\35\2\u009d\u009f\7a\2\2\u009e\u009c\3\2\2\2\u009e\u009d\3\2"+
		"\2\2\u009f\u00a4\3\2\2\2\u00a0\u00a3\59\35\2\u00a1\u00a3\t\2\2\2\u00a2"+
		"\u00a0\3\2\2\2\u00a2\u00a1\3\2\2\2\u00a3\u00a6\3\2\2\2\u00a4\u00a2\3\2"+
		"\2\2\u00a4\u00a5\3\2\2\2\u00a5\u00a9\3\2\2\2\u00a6\u00a4\3\2\2\2\u00a7"+
		"\u00aa\59\35\2\u00a8\u00aa\t\3\2\2\u00a9\u00a7\3\2\2\2\u00a9\u00a8\3\2"+
		"\2\2\u00aa\u00ac\3\2\2\2\u00ab\u009b\3\2\2\2\u00ab\u009e\3\2\2\2\u00ac"+
		"8\3\2\2\2\u00ad\u00ae\t\4\2\2\u00ae:\3\2\2\2\u00af\u00b3\t\5\2\2\u00b0"+
		"\u00b2\t\3\2\2\u00b1\u00b0\3\2\2\2\u00b2\u00b5\3\2\2\2\u00b3\u00b1\3\2"+
		"\2\2\u00b3\u00b4\3\2\2\2\u00b4\u00b8\3\2\2\2\u00b5\u00b3\3\2\2\2\u00b6"+
		"\u00b8\7\62\2\2\u00b7\u00af\3\2\2\2\u00b7\u00b6\3\2\2\2\u00b8<\3\2\2\2"+
		"\u00b9\u00ba\5;\36\2\u00ba\u00be\7\60\2\2\u00bb\u00bd\t\3\2\2\u00bc\u00bb"+
		"\3\2\2\2\u00bd\u00c0\3\2\2\2\u00be\u00bc\3\2\2\2\u00be\u00bf\3\2\2\2\u00bf"+
		">\3\2\2\2\u00c0\u00be\3\2\2\2\u00c1\u00c2\7\62\2\2\u00c2\u00c4\t\6\2\2"+
		"\u00c3\u00c5\t\7\2\2\u00c4\u00c3\3\2\2\2\u00c5\u00c6\3\2\2\2\u00c6\u00c4"+
		"\3\2\2\2\u00c6\u00c7\3\2\2\2\u00c7@\3\2\2\2\u00c8\u00ca\t\b\2\2\u00c9"+
		"\u00c8\3\2\2\2\u00ca\u00cb\3\2\2\2\u00cb\u00c9\3\2\2\2\u00cb\u00cc\3\2"+
		"\2\2\u00cc\u00cd\3\2\2\2\u00cd\u00ce\b!\2\2\u00ceB\3\2\2\2\u00cf\u00d0"+
		"\7\61\2\2\u00d0\u00d1\7\61\2\2\u00d1\u00d5\3\2\2\2\u00d2\u00d4\13\2\2"+
		"\2\u00d3\u00d2\3\2\2\2\u00d4\u00d7\3\2\2\2\u00d5\u00d6\3\2\2\2\u00d5\u00d3"+
		"\3\2\2\2\u00d6\u00d8\3\2\2\2\u00d7\u00d5\3\2\2\2\u00d8\u00d9\7\f\2\2\u00d9"+
		"\u00da\3\2\2\2\u00da\u00db\b\"\2\2\u00dbD\3\2\2\2\u00dc\u00dd\7\61\2\2"+
		"\u00dd\u00de\7,\2\2\u00de\u00e2\3\2\2\2\u00df\u00e1\13\2\2\2\u00e0\u00df"+
		"\3\2\2\2\u00e1\u00e4\3\2\2\2\u00e2\u00e3\3\2\2\2\u00e2\u00e0\3\2\2\2\u00e3"+
		"\u00e5\3\2\2\2\u00e4\u00e2\3\2\2\2\u00e5\u00e6\7,\2\2\u00e6\u00e7\7\61"+
		"\2\2\u00e7\u00e8\3\2\2\2\u00e8\u00e9\b#\2\2\u00e9F\3\2\2\2\20\2\u0099"+
		"\u009e\u00a2\u00a4\u00a9\u00ab\u00b3\u00b7\u00be\u00c6\u00cb\u00d5\u00e2"+
		"\3\b\2\2";
	public static final ATN _ATN =
		new ATNDeserializer().deserialize(_serializedATN.toCharArray());
	static {
		_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
		for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
			_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
		}
	}
	public String typeTransfer(int typeInt) {
		String type;
		switch (typeInt) {
			case 1:
			case 2:
			case 3:
			case 4:
			case 5:
			case 6:
			case 7:
			case 8:
			case 9:
				type = "Symbol";
				break;
			case 10:
			case 11:
			case 12:
			case 13:
			case 14:
			case 15:
				type = "RelationOP";
				break;
			case 16:
			case 17:
			case 18:
			case 19:
				type = "AlgorithmOP";
				break;
			case 20:;
			case 21:
			case 22:;
			case 23:;
			case 24:;
			case 25:
				type = "KeyWord";
				break;
			case 26:;
				type = "Type";
				break;
			case 27:
				type = "Variable";
				break;
			case 28:
			case 29:
			case 30:
				type = "Number";
				break;
			default:
				type = "Other";
		}
		return type;
	}
}